#!/usr/bin/env python

# about.py

import wx

ID_ABOUT = 10001

class AboutDialogBox(wx.Frame):
    def __init__(self):
        description = """Downloadr is a utility designed to make life alot easier when
        downloading large sets from Flickr <http://flickr.com>."""

        licence = """Downloadr. An application that allows you to download entire
        sets of Flickr Photos. Copyright (C) 2008  Joshua Henderson

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Based on work by James Clarke <james@jamesclarke.info>
flickr.py: http://code.google.com/p/flickrpy
"""


        info = wx.AboutDialogInfo()

        info.SetIcon(wx.Icon('images/icon.png', wx.BITMAP_TYPE_PNG))
        info.SetName('Downloadr')
        info.SetVersion('1.0')
        info.SetDescription(description)
        info.SetCopyright('(C) 2008 Joshua Henderson')
        info.SetWebSite('http://code.google.com/p/downloadr')
        info.SetLicence(licence)
        info.AddDeveloper('Joshua Henderson <joshhendo@gmail.com>')
        info.AddDocWriter('Joshua Henderson <joshhendo@gmail.com>')
        info.AddArtist('Simon Leufstedt <simon.zk0@gmail.com>')
        
        wx.AboutBox(info)
